package com.mesSystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("inspection_report")
public class InspectionReport {
    @TableId(value = "inspection_report_id", type = IdType.AUTO)
    /**
     * 检测报告主键
     */
    private Long inspectionReportId;
    /**
     * 质检计划id
     */
    private Long qualityInspectionPlanId;
    /**
     * 质检定义id
     */
    private Long qualityInspectionDefinitionId;
    /**
     * 抽检比例
     */
    private Integer inspectionRatio;
    /**
     * 异常类型
     */
    private String exceptionType;
    /**
     * 异常报告
     */
    private String exceptionReport;
}
